package server;

import java.util.Map;

//Server 指 Minicat 服务实例, 1 个 Minicat 就 1 个 Server,每个 Server 下面有自己的 Mapper 集合
public class Server {

    // Server 里的 Service
    private Map<String, Mapper> serviceMap;

    public Server() {
    }

    public Server(Map<String, Mapper> serviceMap) {
        this.serviceMap = serviceMap;
    }

    public Map<String, Mapper> getServiceMap() {
        return serviceMap;
    }

    public void setServiceMap(Map<String, Mapper> serviceMap) {
        this.serviceMap = serviceMap;
    }
}